<template>
  <TypographyText v-if="lodash.isNil(data)" type="secondary">
    {{ placeholder ?? '-' }}
  </TypographyText>
  <slot v-else />
</template>

<script setup lang="ts">
import { TypographyText } from 'ant-design-vue'
import lodash from 'lodash'
defineProps(['data', 'placeholder', 'children'])
</script>

<style lang="less" scoped></style>
